package com.itheima.health.dao;

import com.itheima.health.pojo.User;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;
//需要继承tk包下的mapper，泛型是实现类类型  不再需要UserMapper.xml
public interface UserMapper extends Mapper<User> {

    User findByUserName(@Param("username") String username);

}
